﻿using Pay.DTO;
using Pay.TO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.IService {
    public interface ITokenUpGradeService {
        #region 后台管理
        /// <summary>
        /// 获取升级创客记录分页列表
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        PagedResult<token_up_grade_maker_dto> GetTokenUpGradeMakerPageList(TokenUpGradeMakerQuery query);
        /// <summary>
        /// 升级创客记录设为客服已处理
        /// </summary>
        /// <param name="chargeId"></param>
        /// <returns></returns>
        bool SetTokenUpGradeMakerProcessed(long chargeId);
        PagedResult<token_up_grade_dto> Gets(UpGradeQuery query);     
        #endregion
        /// <summary>
        /// 我的业务员开通审核分页列表
        /// </summary>
        /// <param name="query"></param>
        /// <param name="userId"></param>
        /// <returns></returns>
        PagedResult<promoter_up_grade_audit_list_model> Gets(MarketingPromoterQuery query, long userId);
        token_up_grade_dto Get(long id);
    }
}
